3.159 \(\int \frac {(d x)^{-1+n}}{\log (c x^n)} \, dx\)

Optimal. Leaf size=27 \[ \frac {x^{1-n} (d x)^{n-1} \text {li}\left (c x^n\right )}{c n} \]

[Out]

x^(1-n)*(d*x)^(-1+n)*Li(c*x^n)/c/n

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {2308, 2307, 2298} \[ \frac {x^{1-n} (d x)^{n-1} \text {li}\left (c x^n\right )}{c n} \]

Antiderivative was successfully verified.

[In]

Int[(d*x)^(-1 + n)/Log[c*x^n],x]

[Out]

(x^(1 - n)*(d*x)^(-1 + n)*LogIntegral[c*x^n])/(c*n)

Rule 2298

Int[Log[(c_.)*(x_)]^(-1), x_Symbol] :> Simp[LogIntegral[c*x]/c, x] /; FreeQ[c, x]

Rule 2307

Int[(x_)^(m_.)/Log[(c_.)*(x_)^(n_)], x_Symbol] :> Dist[1/n, Subst[Int[1/Log[c*x], x], x, x^n], x] /; FreeQ[{c,
 m, n}, x] && EqQ[m, n - 1]

Rule 2308

Int[((d_)*(x_))^(m_.)/Log[(c_.)*(x_)^(n_)], x_Symbol] :> Dist[(d*x)^m/x^m, Int[x^m/Log[c*x^n], x], x] /; FreeQ
[{c, d, m, n}, x] && EqQ[m, n - 1]

Rubi steps

\begin {align*} \int \frac {(d x)^{-1+n}}{\log \left (c x^n\right )} \, dx &=\left (x^{1-n} (d x)^{-1+n}\right ) \int \frac {x^{-1+n}}{\log \left (c x^n\right )} \, dx\\ &=\frac {\left (x^{1-n} (d x)^{-1+n}\right ) \operatorname {Subst}\left (\int \frac {1}{\log (c x)} \, dx,x,x^n\right )}{n}\\ &=\frac {x^{1-n} (d x)^{-1+n} \text {li}\left (c x^n\right )}{c n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 27, normalized size = 1.00 \[ \frac {x^{1-n} (d x)^{n-1} \text {li}\left (c x^n\right )}{c n} \]

Antiderivative was successfully verified.

[In]

Integrate[(d*x)^(-1 + n)/Log[c*x^n],x]

[Out]

(x^(1 - n)*(d*x)^(-1 + n)*LogIntegral[c*x^n])/(c*n)

________________________________________________________________________________________

fricas [A]  time = 0.46, size = 20, normalized size = 0.74 \[ \frac {d^{n - 1} {\rm Ei}\left (n \log \relax (x) + \log \relax (c)\right )}{c n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)^(-1+n)/log(c*x^n),x, algorithm="fricas")

[Out]

d^(n - 1)*Ei(n*log(x) + log(c))/(c*n)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (d x\right )^{n - 1}}{\log \left (c x^{n}\right )}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)^(-1+n)/log(c*x^n),x, algorithm="giac")

[Out]

integrate((d*x)^(n - 1)/log(c*x^n), x)

________________________________________________________________________________________

maple [F]  time = 0.49, size = 0, normalized size = 0.00 \[ \int \frac {\left (d x \right )^{n -1}}{\ln \left (c \,x^{n}\right )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x)^(n-1)/ln(c*x^n),x)

[Out]

int((d*x)^(n-1)/ln(c*x^n),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (d x\right )^{n - 1}}{\log \left (c x^{n}\right )}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)^(-1+n)/log(c*x^n),x, algorithm="maxima")

[Out]

integrate((d*x)^(n - 1)/log(c*x^n), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.04 \[ \int \frac {{\left (d\,x\right )}^{n-1}}{\ln \left (c\,x^n\right )} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x)^(n - 1)/log(c*x^n),x)

[Out]

int((d*x)^(n - 1)/log(c*x^n), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (d x\right )^{n - 1}}{\log {\left (c x^{n} \right )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)**(-1+n)/ln(c*x**n),x)

[Out]

Integral((d*x)**(n - 1)/log(c*x**n), x)

________________________________________________________________________________________